package com.xbongbong.admin.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 实操配置内功能点属性pojo
 * @author zcp
 * @version v1.0
 * @date 19/9/19 019 19:38
 * @update 19/9/19 019 19:38
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class PointPojo implements Serializable {
    private static final long serialVersionUID = 1511632024890495867L;

    /**
     * 实操标题
     */
    private String title;

    /**
     * 实操摘要
     */
    private String instruction;

    /**
     * 任务教程地址
     */
    private String url;

    /**
     * 功能点 如，4600
     */
    private Integer pointKey;

    /**
     * 图标
     */
    private String icon;

    /**
     * 图标颜色
     */
    private String color;

    /**
     * 功能点完成状态，1-完成，0-未完成
     */
    private Integer finish;

    /**
     * 标记该功能点，指明跳转的路由
     */
    private String pointUrl;

    /**
     * 登录员工对于该功能点的权限
     */
    private Integer permission;

    public PointPojo() {

    }

    public PointPojo(Integer pointKey, Integer finish) {
        this.pointKey = pointKey;
        this.finish = finish;
    }

    public PointPojo(String title, String icon, String color) {
        this.title = title;
        this.icon = icon;
        this.color = color;
    }
}
